package com.chagee.channel.api.bo.lark;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @version V1.0.0
 * @author: hong.wen
 * @date: 2025/2/10 15:28
 * @info 审批单抄送请求
 */

@Data
public class ApprovalCarbonCopyRequest implements Serializable {

    @JSONField(name = "approval_code")
    @NotBlank(message = "approvalCode")
    private String approvalCode;

    @JSONField(name = "instance_code")
    @NotBlank(message = "instanceCode不能为空")
    private String instanceCode;

    @JSONField(name = "user_id")
    @NotBlank(message = "userId不能为空")
    private String userId;

    @JSONField(name = "cc_user_ids")
    @NotEmpty(message = "ccUserIds不能为空")
    private List<String> ccUserIds;

    private String comment;
}
